package top.hundreds.oasys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import top.hundreds.oasys.bean.entity.Event;

import java.util.Date;
import java.util.List;

/**
 * (Event)表数据库访问层
 *
 * @author lcf
 * @since 2021-01-29 19:15:35
 */
public interface EventMapper extends BaseMapper<Event> {
    void setStatus(Long id, Integer status, String content, Date date);

    List<Event> getCheckedList(Integer offset, Integer limit, Long userId);
}
